import request from '@/utils/request'

/**
 * 获取左侧菜单数据
 * @returns
 */
// 写法1
// export function getMenuApi () {
//   return request.get('/my/menus')
// }
// 写法2
export const getMenuApi = () => request.get('/my/menus')
